package com.pucheng.bracelet.app.ble;

import android.bluetooth.BluetoothGatt;

import com.clj.fastble.data.BleDevice;
import com.clj.fastble.exception.BleException;

import java.util.List;

public abstract interface  BleScanAndConnectCallback {
    void onScanStarted(boolean success);
    abstract void onScanning(BleDevice bleDevice);
    void onScanFinished(List<BleDevice> scanResultList);
    void onConnectFail(BleDevice bleDevice, BleException exception);
    void onConnectSuccess(BleDevice bleDevice, BluetoothGatt gatt, int status) ;
    void onDisConnected(boolean isActiveDisConnected, BleDevice device, BluetoothGatt gatt, int status);
}
